# coding:utf-8

"""定义获取excle参数的列数"""
class Global_Val(object):
    Id = 0
    request_name = 1
    run = 2
    url = 3
    request_method = 4
    header = 5
    depend_url = 6
    depend_data = 7
    depend_result = 8
    depend_key = 9
    data = 10
    sql = 11
    expect = 12
    result = 13
    is_success = 14
    environment = 15


def get_id():
    """获取case_id"""
    return Global_Val.Id


def get_request_name():
    """获取请求模块名称"""
    return Global_Val.request_name


def get_url():
    """获取请求url"""
    return Global_Val.url


def get_run():
    """获取是否运行"""
    return Global_Val.run


def get_request_method():
    """获取请求方式"""
    return Global_Val.request_method


def get_header():
    """获取是否携带header"""
    return Global_Val.header


def get_case_depend():
    """case依赖"""
    return Global_Val.depend_url


def get_data_depend():
    """依赖请求数据"""
    return Global_Val.depend_data


def get_result_depend():
    """依赖请求结果"""
    return Global_Val.depend_result


def get_key_depend():
    """获取结果参数"""
    return Global_Val.depend_key


def get_data():
    """获取请求数据"""
    return Global_Val.data


def get_sql():
    """获取请求数据"""
    return Global_Val.sql


def get_expect():
    """获取预期结果"""
    return Global_Val.expect


def get_result():
    """获取返回结果"""
    return Global_Val.result


def get_is_success():
    """获取返回结果"""
    return Global_Val.is_success

def get_environment():
    """获取环境，测试or生产"""
    return  Global_Val.environment
